package com.yan.exceptiontest;

public class Test3 {
    public static void main(String[] args) {
        char[] arr = {'我' , '爱' , '你'};
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]);
        }
        System.out.println();
        for (int i = arr.length - 1; i >= 0; i--) {
            System.out.print(arr[i]);
        }
    }
}
